package com.zwd.cases.demo.gof23.factory.day20221227;

import com.zwd.cases.demo.gof23.factory.day20221226.domain.GreekPizza;
import com.zwd.cases.demo.gof23.factory.day20221226.domain.Pizza;

/**
 * @Description GreekPizza工厂类
 * @Author zhengwd
 * @Date 2022/12/27 13:43
 **/
public class GreekPizzaFactory implements AbsFactory {

    @Override
    public Pizza createPizza() {
        return new GreekPizza();
    }
}
